package com.krzysztofadamczyk.dddex.domain.model.customer.events;

import com.krzysztofadamczyk.dddex.domain.events.DomainEvent;
import com.krzysztofadamczyk.dddex.domain.model.customer.Customer;

public class CustomerCreatedEvent implements DomainEvent {

    private final Customer customer;

    public CustomerCreatedEvent(Customer customer) {
        this.customer = customer;
    }

    public Customer getCustomer() {
        return customer;
    }

}
